package com.yantu.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 综合实训课程设计
 * @since 2022-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ExamPaper对象", description="")
public class ExamPaper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "卷试id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "试卷名称")
    private String name;

    @ApiModelProperty(value = "学科")
    private Integer subjectId;

    @ApiModelProperty(value = "试卷类型( 1.固定试卷 4.时段试卷 6.任务试卷 )")
    private Integer paperType;

    @ApiModelProperty(value = "年级")
    private Integer gradeLevel;

    @ApiModelProperty(value = "试卷总分(千分制)")
    private Integer score;

    @ApiModelProperty(value = "题目数量")
    private Integer questionCount;

    @ApiModelProperty(value = "建议时长(分钟)")
    private Integer suggestTime;

    @ApiModelProperty(value = "时段试卷 开始时间")
    private Date limitStartTime;

    @ApiModelProperty(value = "时段试卷 结束时间")
    private Date limitEndTime;

    @ApiModelProperty(value = "试卷框架id，存在content表， 内容为JSON")
    private Integer frameTextContentId;

    @ApiModelProperty(value = "创建者")
    private Integer createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "软删除")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "该试卷对应的任务id")
    private Integer taskExamId;


}
